<div id="preject">
    <div id="table">
        <table>
            <tr><th>序号</th> <th>标题</th>  <th>发布时间</th>  <th></th> <th></th></tr>
            {foreach $notice as $k=>$v}
            <tr><td>{$notice->currentPage()*30-30+$k+1}</td> <td>{$v.title}</td>  <td>{$v.time}</td> <td><a  href="{:url('sendnotice')}?id={$v.id}">编辑</a></td> <td><a href="{:url('deletenotice')}?id={$v.id}" onclick="javascript:if(confirm('确定删除报名吗？')){return true;}return false;">删除</a></td></tr>
            {/foreach}
        </table>
    </div>
    <div id="page">{$notice}</div>
</div>